.btn-nav-inner {
  color: #1082c1 !important;
}
.btn {
  background-color: $sw-btn-bgc;
  color: #fff;
  text-align: center;
  border-radius: 4rpx;
}
.border-top {
  position: relative;
  &::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    transform: scaleY(0.5);
    background-color: #e5e5e5;
    z-index: 1;
  }
}
.border-bottom {
  position: relative;
  &::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 1px;
    transform: scaleY(0.5);
    background-color: #e5e5e5;
    z-index: 1;
  }
}

.custom-list-item {
  padding: 12rpx 15rpx;
  color: #3b4144;
}

.custom-btn {
  height: 60rpx;
  line-height: 60rpx;
  text-align: center;
  color: #fff;
  background-color: $sw-btn-bgc;
  font-size: 30rpx;
  border-radius: 6rpx;

  &.disabled {
    background-color: $sw-btn-bgc-disabled;
  }
}
.close-btn {
  background-color: #d55048;
  color: #fff;
}

// 页面主体样式
.page-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  padding: #{$page-main-top-padding} 0 0 0;
  background-color: $page-wrapper-bgc;
}
// 页面除了头部导航的主要承载区
.page-main {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 10;
}
.top-container {
  padding-top: 8rpx;
  padding-bottom: 6rpx;
  background-color: $top-container-bgc;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 14;
}

// 上下结构：上面是文字，下面是文本域
.textarea-group-title {
  font-size: 14px;
  color: #3b4144;
}
.textarea-group-textarea {
  margin-top: 4px;
}

// 按钮组(适合一个、两个、三个、四个一排的按钮)
.operation-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
  // gap: 10px;
  background-color: $page-wrapper-bgc;
  margin: 10rpx 0;

  .operation-btn {
    margin: 0 5px;
    flex: 1;
    height: 60px;
    line-height: 60px;
    border-radius: 4rpx;
    text-align: center;
    color: #fff;
    font-size: 30px;
    background-color: $sw-btn-bgc;
    letter-spacing: 2px;
  }
}

// 多行的换行文本
.pre-header {
  font-size: 20px;
  color: #3b4144;
  padding-right: 15px;
}
.pre-content {
  color: #999;
  font-size: 12px;
  margin-top: 6rpx;
}

.textarea-minheight {
  min-height: 72rpx;
}

.custom-textarea {
  padding: 10px;
  border-radius: 4rpx;
  background-color: #fff;
  min-height: 64px;
  max-height: 160px;
  overflow: auto;
  width: 100%;
}

:deep(.uni-list-input) {
  text-align: right;
  font-size: 16px;
  .uni-input-placeholder {
    text-align: right;
  }
  .uni-input-input {
    text-align: right;
    font-size: 16px;
  }
}
:deep(.list-item-number-box) {
  justify-content: flex-end;
  flex: 1;
}

.list-item-border {
  position: relative;

  &:after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    content: '';
    transform: scaleY(0.5);
    background-color: #e5e5e5;
  }
}

.asset-showbox {
  height: 60px;
  background-color: #fff;
  align-items: center;
  padding: 2px 10px 0 15px;

  position: relative;
  &::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 1px;
    transform: scaleY(0.5);
    background-color: #e5e5e5;
    z-index: 1;
  }

  .asset-scan,
  .asset-search {
    color: #1082c1 !important;
    border: 1px solid #1082c1;
    padding: 2px;
  }
  .asset-search {
    margin-left: 10px;
  }
}

:deep(.u-cell) {
  .u-cell__body {
    // padding-top: 14px;
    // padding-bottom: 14px;
    .u-cell__title-text {
      font-size: 20px;
    }
  }

  &.required {
    .u-cell__title-text {
      position: relative;
      &::before {
        content: '*';
        color: red;
        margin-right: 4px;
      }
    }
  }

  .u-cell__value {
    span {
      display: inline-flex;
      padding-left: 5rpx;
    }
  }
}
